This script lets you import the following files in Valve studiomodel format:
Install this script as an add-on:
Click File | Import | Studiomodel Mesh Source in the main menu.
The bones in the imported armature are automatically made members of the "smd" pose bone group for consistency with the SMD exporter.
If everything is OK, the animation sequence is added, and markers are placed in the timeline for the start ("<filename></filename>_start") and end ("<filename></filename>_end") of the sequence. The naming of the markers is consistent with the convention used by the SMD exporter.
Notes:
- The importer transfers the keys defined in the .smd to the fcurves of the armature's bones. If your armature is rigged with constraints, drivers and IK, and those are enabled, don't expect the resulting animations to match those in the file. However, the keys will be there, so when you disable your extra rigging features at any time, you should have a faithful representation of the animation in the file.
- For bone rotations, the importer sets keys on both the Euler and quaternion channels.